package org.dfl.core.model.transitions;

import java.util.HashMap;
import java.util.Map;

import org.dfl.core.model.TransitionExecutionException;

/**
 * transition that creates an empty tuple 
 * @author Piotr Wlodarczyk
 *
 */
public class EmptyTupleConstructionTransition extends TupleConstructionTransition {
	@Override
	protected void init() {
		super.init();
	}
	
	@Override
	protected int getDefaultMaxInputs() {
		return 0;
	}

	@Override
	protected int getDefaultMinInputs() {
		return 0;
	}
	
	@SuppressWarnings("unchecked")
	@Override
	protected Object fire(Map<String, Object> inputMap) throws TransitionExecutionException {
		return new HashMap();
	}
}
